SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd9a305a95ac57a66f4f133614cecbc91e513fa2772043dd112029c6b20476d6e' 
  AND token = 'cALyoaNXhPhNL66EYa2he5VXxtAO6Gj2zQ37y8pXEEk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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