SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '335ad4a13ae291324b15bd8007ce43266ac9ed338995308069757c34c8810217' 
  AND token = 'TZepissBRuja3lxcLM6VN53z8bmt+dDTcpKywzGKN0o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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