SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9d0f22979fe963370a2c9d82aa3889d0195fbb51e17c71743c77f9f85330f117' 
  AND token = 'uEmwETNOS91KdcV04ho78+im2Q6iId8ZuzQULWTd97Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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