SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0ddf26bd22ff46c86bce1fe481852011306548b48978bf6cf97bc8c23c856816' 
  AND token = 'ZKo6d1npUKpSEVvYzeTaZ+3Yz1Uo1j+MrY/02sqvTJ0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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