SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '517c6722ee252e481718d902168a85ae794e5bed75dba0e6d9a04c3f20ae34ac' 
  AND token = 'c86PzknXHvSGJH7ltjxND1fOyGB1s9bho/o0psjQ9Vs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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