SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5fcc42e07492fea5fb025877216df87f5c9398135418b4bddb1dd02c5e03df9f' 
  AND token = 'k0TMne6eWbO5y25LV0FyQSanX9+lWz+aPyYPE51qc2U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}