SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '245c5f63eed7e64008c7890d948a07645d8f2bcc5e4755f05f1942645dc98e38' 
  AND token = 'pWXckIX+Wj1lsaKbV1z852lLrCugBjqOb0AGdJgU69A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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