SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c66d9634510446d26af8a45a917f59e0b38310852303bff65e32182e55fa8464' 
  AND token = 'miyGlMno7XZ+dcz/2NcHFTM713QfGqHX15PHWk1W7Dg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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