SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1983fd9524f65fef7e7d71534e030506c66f4ab596ca50310fbc0b194b37a1aa' 
  AND token = 'KDVu/dQ3apQ/tGIDnIPKO/vgVPEPxOeVo5Gh6BZ8ltI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00064

JSON explain

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