SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0431e495c160541cced43fbf040f2a8b2ff22d2735f31892fad3610932f29d33' 
  AND token = 'Vd0580slD5iuDeY4QOcQoYJguqQ10RZB9wjpjdexN5A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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