SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '10a2fcd3238b383839485e898aacab52c56d9fe7ed277f74f7e572feb008d47d' 
  AND token = 'hnNJbzpyLDpfSNcpGz2552js1AOtFSph46jB60OQZuM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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