SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '871adecbcdc980ac1fc31f27d51e0ea5e4c111379e4d2818ffc682e89b4f9f25' 
  AND token = 'YJGFo7z26/MUwxBmOKkPzxO2LM0oRtIvg88tet4wjcA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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