SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40b55ff1237555b195d35d318893afc0d17a57ce6e525e380febf1519fd3ab7e' 
  AND token = 'fm1iJKImtk4nyGFkRY/JOdO79edW/qBe+RES7pBLRck=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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