SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '24669a1f5037bc8d0d39b7e98c4d9f1649cd976a665e0c415aa44605379424df' 
  AND token = '5hjf4AP8GUiaQ64veZGlOjZa7qD0Nxk9Ki6Hk2gijIM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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