SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '243e4dfe0e1bfb9456e5d3bdcc6a9b4408862f8ad30734dc05a7ce139ce46c46' 
  AND token = 'a6w8+iQz9SFZh4E+Ykr/5elj4tsnAZ9p1dyJVsznQxQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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