SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '666c4d5fffb1558c8e23a8542bcc2dfabded895709df79452a812e60f589a82d' 
  AND token = 'J0H4+aJ1tHGESB9wjBJxxk7lCYj/vSTmTBbNtiV6J30=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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