SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f017cfcc3911aa1fdebffcb4fdf6a7f393f8c395dd6553ed1795c3456750a88c' 
  AND token = 'QrOcLylivMlB0xhc8TV68OeVBYc+Z8rRDnxPUoZ81qM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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