SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '21498b2579f1e9c6ff7ace6936c2dfad2664a93f31e1643ef75885e9a21af672' 
  AND token = '6ybxOe0AY4kUJ+IC6xxX/krVyTFGiTAsN6zDuZJ2Y8M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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