SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cd50de74fa3391dbc7653bb6ad2bb84f9c0669a5922c04892722567ea859f22c' 
  AND token = 'FEYtAFMzQ8fsR9P8fxrwxT7iJuK0g/psMcc0UrPivUI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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