SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bb59705050fd033b8cbfe354f05223644ff14c87f84ef4d986da97dd13ddfbca' 
  AND token = 'XsSPEyLXYiyLMNdIhK0FB91AeV9/HCuWQ8EJE8LOIcE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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