SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ab3badb6622852fe0f2881d4673ce6be02356d05bb9674dcc380453568323d21' 
  AND token = 'PIbK1/Yo0e4w487U04ijMIfOiVny1F9AUbTMiDT/OIQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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