SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '79f7cde7d2a5e150cb753edd210909f5accbfc90eb613197fd89200d4179da0e' 
  AND token = 'O4F7FhpsuyM7WxaWeFH6v7WpZKqJ5U7r3NN/nWZPXM0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}