SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1a783cca28d48e644b2023f5090fd78a93197a23a8953eaa24b1aab4d670b03a' 
  AND token = 'p8tV+75inFAm0sSYyei7lIL073mHfJ+tVGcSadClha0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00067

JSON explain

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