SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '01fcaa5a5a4bcbac6c2a8cbf449b7e39bd921f77af34734cc23f0762034b5f77' 
  AND token = 'Ol4UFLR8Yp4NjIeo/+cupVHhSLbJUs46xaPsFqUeqbQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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