SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd745e4ea64cf4697701cf0d8697ae6ab0919b51acdc48e8f407f90825e1cf5af' 
  AND token = 'JOzolPfE3I7cWX61D47MjGykxPhv+sckI7jiZ3oaUKg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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